package com.five.entity;

import java.io.Serializable;
import java.util.Date;

public class Travel implements Serializable {

    private static final long serialVersionUID = -1695973853274402680L;

    private Integer id;

    private Integer userId;

    private Date publishTime;

    private String description;

    private Integer travelFileGroupId;

    private String travelCommentsIds;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getTravelFileGroupId() {
        return travelFileGroupId;
    }

    public void setTravelFileGroupId(Integer travelFileGroupId) {
        this.travelFileGroupId = travelFileGroupId;
    }

    public String getTravelCommentsIds() {
        return travelCommentsIds;
    }

    public void setTravelCommentsIds(String travelCommentsIds) {
        this.travelCommentsIds = travelCommentsIds == null ? null : travelCommentsIds.trim();
    }

    @Override
    public String toString() {
        return "Travel{" +
                "id=" + id +
                ", userId=" + userId +
                ", publishTime=" + publishTime +
                ", description='" + description + '\'' +
                ", travelFileGroupId=" + travelFileGroupId +
                ", travelCommentsIds='" + travelCommentsIds + '\'' +
                '}';
    }
}